@using Didsoft.Mvc.Helpers
@model SIOGDE.AccesoDatos.Entidades.RequerimientoConfig
@{
   ViewBag.Title = "RequerimientoConfig";
 }
<link href="~/Content/DataForm.css" rel="stylesheet"/>
@using (Html.BeginForm("DataForm","RequerimientoConfig", FormMethod.Post, new {@class="box common", @id="myDataForm"})) {
     <div class="header">Formulario : RequerimientoConfig</div>
     <fieldset class="boxBody">
         @Html.ValidationMessage("DataFormError")
            <div class="editor-label">
                @Html.LabelFor(model => model.Arma)
            </div>
            <div class="editor-field">
                @Html.AutocompleteFor(model => model.ArmaId_FK, "Arma.Nombre", Url.Action("SearchByFilter","Arma"))
            </div>
            <div class="editor-label">
                @Html.LabelFor(model => model.Especialidad)
            </div>
            <div class="editor-field">
                @Html.AutocompleteFor(model => model.EspecialidadId_FK, "Especialidad.Nombre", Url.Action("SearchByFilter","Especialidad"))
            </div>            
            <div class="editor-label">
                @Html.LabelFor(model => model.Grado)
            </div>
            <div class="editor-field">
                @Html.AutocompleteFor(model => model.GradoId_FK, "Grado.Nombre", Url.Action("SearchByFilter","Grado"))
            </div>
            <div class="editor-label">
                @Html.LabelFor(model => model.TipoCargoComando)
            </div>
            <div class="editor-field">
                @Html.AutocompleteFor(model => model.TipoCargoComandoId_FK, "TipoCargoComando.Nombre", Url.Action("SearchByFilter","TipoCargoComando"))
            </div>
            <div class="editor-label">
                @Html.LabelFor(model => model.UnidadMilitar)
            </div>
            <div class="editor-field">
                @Html.AutocompleteFor(model => model.UnidadMilitarId_FK, "UnidadMilitar.Nombre", Url.Action("SearchByFilter","UnidadMilitar"))
            </div>
         @Html.HiddenFor(model => model.Guid)        
         <div class="editor-label">
             @Html.LabelFor(model => model.NumPersonas)
         </div>
         <div class="editor-field">
             @Html.EditorFor(model => model.NumPersonas)
             @Html.ValidationMessageFor(model => model.NumPersonas)
         </div>
         <div class="editor-label">
             @Html.LabelFor(model => model.AutorizadoPor)
         </div>
         <div class="editor-field">
             @Html.EditorFor(model => model.AutorizadoPor)
             @Html.ValidationMessageFor(model => model.AutorizadoPor)
         </div>        
         <div class="editor-label">
             @Html.LabelFor(model => model.PromocionDesde)
         </div>
         <div class="editor-field">
             @Html.EditorFor(model => model.PromocionDesde)
             @Html.ValidationMessageFor(model => model.PromocionDesde)
         </div>
         <div class="editor-label">
             @Html.LabelFor(model => model.PromocionHasta)
         </div>
         <div class="editor-field">
             @Html.EditorFor(model => model.PromocionHasta)
             @Html.ValidationMessageFor(model => model.PromocionHasta)
         </div>
</fieldset>
<footer>
<input type="submit" class="btnCommon" value="Guardar Datos"/>
<input type="button" class="btnCancel" value="Cancelar y Regresar" onclick="history.go(-1);" />
</footer>
}
@section Scripts{@Scripts.Render("~/bundles/jqueryval")}

